package com.yonyou.iuap.ipaas.connector.sdwcoatencent.api.model.core.response.query;

import lombok.Data;

import java.io.Serializable;

@Data
public class PageData implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long pageIndex;
    private Long pageSize;
    private Long totalCount;
    private Long cursorIndex;
    private Boolean haveNextPage = false;

    public PageData() {
    }

    public String toString() {
        return "PageData(pageIndex=" + this.getPageIndex() + ", pageSize=" + this.getPageSize() + ", totalCount=" + this.getTotalCount() + ", cursorIndex=" + this.getCursorIndex() + ", haveNextPage=" + this.getHaveNextPage() + ")";
    }
}
